/**
 * 全局State状态
 */
const defaultState = {
  loadingState: true,
};

export default {

  namespace: 'global',
  
  state: defaultState,

  effects: {
    
  },

  reducers: {
    /**
     * 更新全局加载状态
     */
    loadingStateUpdate(state, { payload: { loadingState } }) {
      return { ...state, loadingState: loadingState };
    },
    
  },

}